import service from '../server'

export const navList = async (params) => {
  return await service.get('/app/api/channel', params)
}

export const channelList = async (alias,params) => {
  return await service.get(`/app/api/channel/alias/${alias}`, params)
}

export const channelArticleList = async (params) => {
  return await service.get(`/app/api/article/page`, params)
}
